package org.itboys.mobile.entity.mysql.score;

import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 日期：2017年5月11日
 * 描述：圣代_积分_记录_实体。如果字段不够请自行扩展。不需要继承此类！！！！！！！！！！！！
 * 当前商品为单规格。如果需要多规格，请自行扩展
 */
public class SundayScoreRecord extends BaseMySqlEntity{
    private Long memberId;//用户id
    private Long scoreId;//积分主表id
    private BigDecimal score;//获得或者扣减的积分
    private Integer type;//1.消费奖励2.签到获得3.消费抵扣
    private String remark;//获取积分的备注 1.消费奖励2.签到获得3.消费抵扣

    public SundayScoreRecord() {
    }
    public SundayScoreRecord(Long memberId, Long scoreId, BigDecimal score,Integer type, String remark) {
        this.memberId = memberId;
        this.scoreId = scoreId;
        this.score = score;
        this.type=type;
        this.remark = remark;
    }
    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getScoreId() {
        return scoreId;
    }

    public void setScoreId(Long scoreId) {
        this.scoreId = scoreId;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


}
